package com.lgit.model2.hw03;

public class SIMTest {

    public static void main(String[] args) {

        // 无参构造
        PhoneCard pc01 = new CallType();
        pc01.show();
        System.out.println("-----------------------------------");
        // 有参构造
        PhoneCard pc02 = new CallType("大卡", "10086", "张飞", "123456", 100,60,
                1024,80, 10, 89);
        pc02.show();
        System.out.println("-----------------------------------");
        PhoneCard pc03 = new PhoneCard("小卡", "110120", "关羽", "123456", 120, 75, 69);
        CallType ct = new CallType();
        ct.talkService(100, pc03);
        System.out.println("-----------------------------------");
        // 无参构造
        PhoneCard pc04 = new FlowType();
        pc04.show();
        // 有参构造
        System.out.println("-----------------------------------");
        PhoneCard pc05 = new FlowType("微型卡", "10088", "刘备", "123456", 140,
                90, 2048, 79, 79);
        pc05.show();
    }
}
